package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * C端系统-换电拼团信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_charge_group")
@ApiModel(value = "XhChargeGroup对象", description = "C端系统-换电拼团信息")
public class XhChargeGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("发起人")
    private Integer memberId;

    @ApiModelProperty("拼团编号")
    private String no;

    @ApiModelProperty("拼团名称，前端获取地点名称自行填入")
    private String name;

    @ApiModelProperty("经度")
    private BigDecimal lng;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("详细地址（区域信息均由经纬度自动获取）")
    private String address;

    @ApiModelProperty("省ID")
    private Integer provinceId;

    @ApiModelProperty("省名")
    private String province;

    @ApiModelProperty("市ID")
    private Integer cityId;

    @ApiModelProperty("市名")
    private String city;

    @ApiModelProperty("县编号")
    private Integer districtId;

    @ApiModelProperty("县区名（地区信息均由经纬度自动获取）")
    private String district;

    @ApiModelProperty("1-进行中 2-付款中 3-拼团失败 4-退款办理中 5-准备安装 6-安装建设中 7-安装完成 8-退款完成")
    private Integer status;

    @ApiModelProperty("状态说明")
    private String message;

    @ApiModelProperty("参团押金金额")
    private BigDecimal price;

    @ApiModelProperty("满团人数")
    private Integer needPerson;

    @ApiModelProperty("已参团人数")
    private Integer attendPerson;

    @ApiModelProperty("已付款人数")
    private Integer paidPerson;

    @ApiModelProperty("浏览数")
    private Integer click;

    @ApiModelProperty("成团时间")
    private Date successTime;

    @ApiModelProperty("付款完成时间")
    private Date paidTime;

    @ApiModelProperty("是否可用 1-可用 0-禁用")
    private Integer isEnabled;

    @ApiModelProperty("是否删除 1-删除 0-未删除")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
